package cn.zn.job.vo;

import javax.validation.constraints.NotBlank;

public class SysJobEditVo {

    /**
     * 任务名
     */
    @NotBlank(message = "任务名不能为空")
    private String jobName;

    /**
     * 组
     */
    @NotBlank(message = "任务组不能为空")
    private String jobGroup;

    /**
     * 执行类
     */
    @NotBlank(message = "执行类不能为空")
    private String invokeTarget;

    /**
     * 执行时间
     */
    @NotBlank(message = "执行时间不能为空")
    private String cronExpression;

    /**
     * 计划执行错误策略
     */
    private String misfirePolicy;

    /**
     * 是否并发执行
     */
    private String concurrent;

    /**
     * 状态（0正常 1暂停）
     */
    private String status;

    private String remark;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getInvokeTarget() {
        return invokeTarget;
    }

    public void setInvokeTarget(String invokeTarget) {
        this.invokeTarget = invokeTarget;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getMisfirePolicy() {
        return misfirePolicy;
    }

    public void setMisfirePolicy(String misfirePolicy) {
        this.misfirePolicy = misfirePolicy;
    }

    public String getConcurrent() {
        return concurrent;
    }

    public void setConcurrent(String concurrent) {
        this.concurrent = concurrent;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
